import { ApiProperty } from "@nestjs/swagger";

export class CreateTemplateDto {
  @ApiProperty({
    description: 'The name of the template',
    example: 'Template 1',
  })  
  name: string;

  @ApiProperty({
    description: 'The description of the template',
    example: 'This is a common template',
    required: false
  })
  description?: string;

  @ApiProperty({
    description: 'The content of the template',
    example: 'Template content json string',
  })
  content: string;
}
